//
//  HLVIPRequest.m
//  YueYue
//
//  Created by LiuYu on 2024/11/5.
//

#import "HLVIPRequest.h"

@implementation HLVIPInforResponse

@end

@implementation HLVIPRequest
- (NSString *)requestUrl
{
    return @"/user/my/vip";
}

- (YTKRequestMethod)requestMethod
{
    return YTKRequestMethodGET;
}

- (HLVIPInforResponse *)VIPInforResponse
{
    HLVIPInforResponse *balance;
    
    NSDictionary *data = [self.result valueForKey:@"data"];
    if (![data isKindOfClass:[NSDictionary class]]){
        return balance;
    }
    balance = [HLVIPInforResponse mj_objectWithKeyValues:data];
    

    return balance;
}
@end
